package com.cangmaomao.m_penManage.contract

import com.cangmaomao.lib.base.BasePresenter
import com.cangmaomao.lib.base.BaseView
import com.clj.fastble.data.BleDevice

/**
 * Created by Administrator on 2018/7/11 0011.
 */
interface PenManageContract {

    interface ManageView : BaseView<ManagePresenter> {

        fun initDevicesView(flag: Boolean)

        fun devices(bleDevice: BleDevice)

        fun connectState(flag: Boolean, bleDevice: BleDevice)

        fun showConnectSuccess(bleDevice: BleDevice)

    }

    interface ManagePresenter : BasePresenter {

        fun startScan()

        fun connect(mac: String)

        fun checkBleState(): Boolean


    }
}